package com.geng.test;

import com.geng.mvc.ResponseBody;
import com.geng.mvc.ResponseView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class XXXController {
    @ResponseBody("/test1.do")
    public String test1(HttpServletRequest request, HttpServletResponse resp){
        return "hahaha";
    }
    @ResponseBody("/test2")
    public String test2(HttpServletRequest request, HttpServletResponse resp){
        return "hahaha";
    }
    @ResponseView("/test3.do")
    public String test3(HttpServletRequest request, HttpServletResponse resp){
        return "xxx.html";
    }
}
